package org.mindcanister.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ContentServiceAsync {
	void newContent(String title, Integer type, String content, String des, AsyncCallback<String> callback);

	void deleteContent(Integer id, AsyncCallback<String> callback);

	void diggContent(Integer contentId, Integer userId, AsyncCallback<String> callback);
}
